package com.atguigu.tingshu.account.service;

import com.atguigu.tingshu.model.account.UserAccount;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.Map;

public interface UserAccountService extends IService<UserAccount> {

//为用户初始化账户余额记录
    void initUserAccount(Map<String, Object> map);
//新增账户变动日志
    void saveUserAccountDetail(Long userId, String title, String tradeType, BigDecimal amount,String orderNo);
}
